package com.dandelion.manager.system.repository;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dandelion.commons.repository.BaseMapper;
import com.dandelion.manager.system.domain.Role;

public interface RoleMapper extends BaseMapper<Role> {
	int nextSort();
	
	List<Role> selectRoleLinkRoleResource(@Param("roleId") Long roleId);
	
	List<Role> selectRoleLinkRoleResourceIn(String[] roleIds);
	
	List<Role> selectRoleIn(String[] roleIds);
	
}